﻿using System;
using System.Web;
using System.Security.Cryptography;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.IO;

namespace   NxPartyAffairsOpen.Models
{
    public class LeftMenuModel
    {        
        private int _Level;
        public int Level
        {
            get
            {
                return _Level;
            }
            set
            {
                _Level = value;
            }
        }
        private Guid _CategoryID;
        public Guid CategoryID
        {
            get
            {
                return _CategoryID;
            }
            set
            {
                _CategoryID = value;
            }
        }
        private Guid _CurrentCategoryID;
        public Guid CurrentCategoryID
        {
            get
            {
                return _CurrentCategoryID;
            }
            set
            {
                _CurrentCategoryID = value;
            }
        }
        private string _ParentID;
        public string ParentID
        {
            get
            {
                return _ParentID;
            }
            set
            {
                _ParentID = value;
            }
        }
        private string _DisplayName;
        public string DisplayName
        {
            get
            {
                return _DisplayName;
            }
            set
            {
                _DisplayName = value;
            }
        }
        private string _CategoryName;
        public string CategoryName
        {
            get
            {
                return _CategoryName;
            }
            set
            {
                _CategoryName = value;
            }
        }
        private string _OuterUrl;
        public string OuterUrl
        {
            get
            {
                return _OuterUrl;
            }
            set
            {
                _OuterUrl = value;
            }
        }
        private int _OrderNum;
        public int OrderNum
        {
            get
            {
                return _OrderNum;
            }
            set
            {
                _OrderNum = value;
            }
        }
        private List<CategoryModel> _Category;
        public List<CategoryModel> Category
        {
            get
            {
                return _Category;
            }
            set
            {
                _Category = value;
            }
        }
        public LeftMenuModel()
        {
            _Level = 0;            
            _Category = new List< CategoryModel>();
            _CurrentCategoryID = Guid.Empty;
            _OrderNum = 0;
            _CategoryID = Guid.Empty;
        }
    }
}